package spring.cloud.tasks.tasks_assign_manager.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateTimeUtil {
    public static final synchronized String getTaskRoundId(String taskInstanceId) {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
        return taskInstanceId + "#" + sdf.format(new Date());
    }
}
